package com.minivision.fdiot.rest.result.detect;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class DetectedFace {
	private String faceToken;
	private int rotate;
	private Rectangle faceRectangle;
	private FaceAttribute faceAttribute;
	@JsonIgnore
	private float[] feature;

	@Getter
	@Setter
	public class Rectangle {
		private int top;
		private int left;
		private int width;
		private int height;
	}

}
